#ifndef ALP_TYPE_H
#define ALP_TYPE_H

#include <stddef.h>

#define ALP_E_MEMORY    -1
#define ALP_E_PARAMETER -2
#define ALP_E_INPUT     -3

typedef int alp_status_t;

#define ALP_CHECK(f) { alp_status_t ret = f; if (ret) return ret; }

#endif
